package com.applcn.hello.client;

import com.applcn.core.base.Result;
import com.applcn.hello.HelloConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * com.applcn.hello.client
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-01-15 23:00
 */
@FeignClient(name = HelloConstant.SERVICE_NAME, url = "${applcn.hello-service-endpoint}", path = "/feign/hello")
public interface HelloClient {

    @GetMapping("/test")
    Result test ();
}
